package com.ikun.auth.domain.convert;


import com.ikun.auth.domain.entity.AuthPermissionBO;
import com.ikun.auth.domain.entity.AuthRoleBO;
import com.ikun.auth.infra.basic.entity.AuthPermission;
import com.ikun.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
* @Description: 权限dto转换器
* @Author: gqh
* @Date: 2024/5/18 12:28
*/
@Mapper
public interface AuthPermissionBOConverter {

    AuthPermissionBOConverter INSTANCE = Mappers.getMapper(AuthPermissionBOConverter.class);

    AuthPermission convertBOToEntity(AuthPermissionBO authPermissionBO);

}